import { createSSRApp } from "vue";
import App from "./App.vue";
import VConsole from "vconsole";
import VueKonva from "vue-konva";
import { Button, FloatingPanel, Tabs, Tab } from "vant";
import "vant/lib/index.css";

new VConsole();

export function createApp() {
    const app = createSSRApp(App);

    app.use(VueKonva);
    app.use(Button);
    app.use(FloatingPanel);
    app.use(Tabs);
    app.use(Tab);

    return {
        app,
    };
}
